//package cn.edu.sicnu.lgy.finalwork.info_user
//
//import android.content.Context
//import android.database.sqlite.SQLiteDatabase
//import android.database.sqlite.SQLiteOpenHelper
//import cn.edu.sicnu.lgy.finalwork.tab
//
//
//const val dbName="dbName"
//const val Table="userInfo"
////open class User(var name:String?,var gender:String?,var birthday:String?,var region:String?,var university:String?,var introductory:String? ):
//class User(context: Context, dbName:String, version:Int) : SQLiteOpenHelper(context,dbName,null,version) {
//
//    override fun onCreate(db: SQLiteDatabase?) {
//        db?.execSQL("create table $Table(id integer primary key,name text,gender text,birthday text,university text,introductory text)")
//    }
//
//    override fun onUpgrade(db: SQLiteDatabase?, p1: Int, p2: Int) {
//
//        db?.execSQL("drop table if exists $tab")
//        onCreate(db)
//
//    }
//
//}